// 统计相关类型

export interface CommitDistribution {
  date: string;
  commitCount: number;
  engineerCount: number;
}

export interface DailyDistribution {
  date: string;
  engineerCount: number;
  commitCount: number;
}

export interface WeeklyStats {
  week: string;
  commitCount: number;
  engineerCount: number;
}

export interface HourlyStats {
  hour: number;
  commitCount: number;
  percentage: number;
}

export interface MonthlyStats {
  month: string;
  commitCount: number;
  totalChanges: number;
}

export interface RepoAuthorStats {
  name: string;
  commitCount: number;
  totalChanges: number;
  allCommitCount: number;
  allTotalChanges: number;
  minDate: string;
  maxDate: string;
  role: string;
  department: string;
}
